package com.ruoyi.operators.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 算子对象 operators
 * 
 * @author ruoyi
 * @date 2023-05-26
 */
public class Operators extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 算子名称 */
    @Excel(name = "算子名称")
    private String name;

    /** 实际运算公式 */
    @Excel(name = "实际运算公式")
    private String calculate;

    /** 描述 */
    @Excel(name = "描述")
    private String content;

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCalculate(String calculate) 
    {
        this.calculate = calculate;
    }

    public String getCalculate() 
    {
        return calculate;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("name", getName())
            .append("calculate", getCalculate())
            .append("content", getContent())
            .toString();
    }
}
